package org.Keks;

import java.awt.Canvas;
import java.awt.Component;

import javax.swing.JPanel;

import org.Keks.graphics.KeksScreen;
import org.Keks.input.KeksKeys;

public class KeksMap {
	private KeksKeys keys;
	private Component gframe;

	/**
	 * Map contains basically the game. Every input-check should go through this file except for in-game menus.
	 * @param k Keys for the keyboard input.
	 * @param sb The canvas to assign the MouseListener to. Actually it's the canvas where the game is rendered on.
	 */
	public KeksMap(KeksKeys k, Component sb) {
		this.keys = k;
		this.gframe = sb;
		init();
	}
	
	/**
	 * Used to create a new game. Currently only used for setting the neighbor tiles after map creation.
	 */
	public void init() {
	}
	
	/**
	 * Unused. Reset the current game
	 */
	public void reset() {
	}
	
	/**
	 * Used for actions that need to be done every frame e.g. counters, movement, etc.
	 */
	public void tick() {
	}
	
	public void render(KeksScreen screen) {
	}
}
